﻿
#include <iostream>

int main() {
int t1=1;
int t2=2;
int t3=3;
int t4=4;
int t5=5;
int t6=6;
int t7=7;
int t8=8;
int t9=9;
std::string w[3];
std::string r[10]={"zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine"};

std::cout<<"Enter three numbers in English separated by space:";
std::cin>>w[0]> w[1]>>w[2];

if (w[0]==r[0]){
    w[0]=std::to_string(t*100);
}
if (w[0]==r[1]) {
    w[0]=std::to_string(t1*100);
}
if (w[0]==r[2]){
    w[0]=std::to_string(t2*100);
}
if (w[0]==r[3]){
    w[0]=std::to_string(t3*100);
}
if (w[0]==r[4]){
    w[0]=std::to_string(t4*100);
}
if (w[0]==r[5]){
    w[0]=std::to_string(t5*100);
}
if (w[0]==r[6]){
    w[0]=std::to_string(t6*100);
}
if (w[0]==r[7]) {
    w[0]=std::to_string(t7*100);
}
if (w[0]==r[8]){
    w[0]=std::to_string(t8*100);
}
if (w[0]==r[9]){
    w[0]=std::to_string(t9*100);
}

std::cout<<std::stoi(w[0])+std::stoi(w[1])+std::stoi(w[2])<<std::endl;
int y=std::stoi(w[0])+std::stoi(w[1])+std::stoi(w[2]);
    return 0;
}
        
    
    
       
    
    
        
    



    

